package com.amsp.oa.oademo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("interview_record")
@ApiModel(value = "面试记录")
public class InterviewRecord {
    @TableId(type = IdType.AUTO)
    @ApiModelProperty("主键ID")
    private Long id;

    @ApiModelProperty("应聘职位")
    private String position;

    @ApiModelProperty("姓名")
    private String name;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("面试时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime interviewTime;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("学历")
    private String education;

    @ApiModelProperty("可到职日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime availableDate;

    @ApiModelProperty("招聘组评价")
    private String recruitmentEvaluations;

    @ApiModelProperty("部门评价")
    private String departmentEvaluations;

    @ApiModelProperty("建议工资")
    private String suggestedSalary;

    @ApiModelProperty("确认工资")
    private String confirmedSalary;

    @ApiModelProperty("试用期")
    private String probationPeriod;

    @ApiModelProperty("试用期工资")
    private String probationSalary;

    @ApiModelProperty("试用期绩效")
    private String probationPerformance;

    @ApiModelProperty("转正后工资")
    private String regularSalary;

    @ApiModelProperty("转正后绩效")
    private String regularPerformance;

    @ApiModelProperty("用人部门主管意见")
    private String departmentSupervisorOpinion;

    @ApiModelProperty("用人部门经理意见")
    private String departmentManagerOpinion;

    @ApiModelProperty("用人部门部长/总监意见")
    private String departmentDirectorOpinion;

    @ApiModelProperty("总经理意见")
    private String generalManagerOpinion;

    @ApiModelProperty("总裁/董事长复试意见")
    private String presidentOpinion;

    @ApiModelProperty("企业管理部意见")
    private String managementDepartmentOpinion;

    @ApiModelProperty("初始面试意见")
    private String initialOpinions;

    @ApiModelProperty("复试意见")
    private String reviewOpinions;

    @ApiModelProperty("初始面试人签名")
    private String initialInterviewerSignature;

    @ApiModelProperty("初始面试日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime initialInterviewDate;

    @ApiModelProperty("复试面试人签名")
    private String reviewInterviewerSignature;

    @ApiModelProperty("复试日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime reviewInterviewDate;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}